/*
 * Copyright (c) 2006-2020, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2020-05-21     chenhy       the first version
 */
#ifndef APPLICATIONS_ADC_H_
#define APPLICATIONS_ADC_H_
#include <stdint.h>
#include <stm32f0xx.h>
extern uint16_t adc_sample[4];
extern uint16_t sample_data[4];
extern ADC_HandleTypeDef hadc1;
int adc_init(void);

#endif /* APPLICATIONS_ADC_H_ */
